package org.component.item 
{
	import org.component.container.FlipPage;
	import org.component.interfaces.IFlipPageItem;
	import org.component.interfaces.IFlipPageItemData;
	import flash.display.MovieClip;
	import flash.text.TextField;
	
	/**
	 * ...
	 * @author Terry
	 */
	public class FlipPageItem extends Component implements IFlipPageItem
	{
		
		protected var _subject:FlipPage = null;
		
		private var _data:IFlipPageItemData = null;
		
		public function FlipPageItem(ui:MovieClip = null) 
		{
			super(ui);
		}
		
		public function setSubject(subject:FlipPage = null):void
		{
			_subject = subject;
		}
		
		public function update(data:IFlipPageItemData = null):void
		{
			_data = data;
		}
		
		public function dispose():void
		{
			_data = null;
		}
		
		public function get data():IFlipPageItemData { return _data; }
		
		
	}

}